package com.ruoyi.system.api;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.SysDept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Objects;

/**
 * @author liuxingchen
 * @packageName com.ruoyi.system.api
 * @project javaruoyi
 * @date 2025/10/16
 * @description:...
 */
@FeignClient(contextId = "remoteDeptService", name = "ruoyi-system")
public interface RemoteDeptService {
    @GetMapping("/dept/list")
    public R<List<SysDept>> list();
}
